using System.CodeDom;
using CodeDomHelper.Types;
using System;
using System.Diagnostics;

namespace CodeDomHelper.CodeDom
{

    [DebuggerDisplay("{Value}", Name = "PrimitiveExp")]
    [Serializable()]
    [System.Diagnostics.DebuggerStepThrough()]
    public partial class PrimitiveExp : CodePrimitiveExpression, IType
    {


        public PrimitiveExp(object value)
            : base(value)
        {
            Type = new TypeExp(value.GetType().AssemblyQualifiedName);
        }

        public TypeExp Type { get; private set; }

    }

}
